package com.liuyi.pay.wx;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * 微信支付配置实体
 * </p>
 *
 * @author Mr.Fmy
 * @since 2020-11-26
 */
@Component
@PropertySource("classpath:/pay.properties")
@ConfigurationProperties(prefix = "wxpay")
@Data
public class WxPayBeans {

    private List<WxPayBean> beans;
}
